using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "New Flask", menuName = "Data/Flask")]
public class ItemData_Flask : ItemData
{
    public List<FlaskItemEffect> effects = new List<FlaskItemEffect>();

    public void FlaskUse()
    { 
        foreach (var effect in effects)
        {
            PlayerManager.instance.player.StartCoroutine("UseFlask",effect);
        }
    }
}
